package com.xyht.sca_s.student_manage_system.modules.produtProcurement.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 大宗商品审批表
 * </p>
 *
 * @author XYHT
 * @since 2023-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_product_procurement_approval")
@ApiModel(value="SmsProductProcurementApproval对象", description="大宗商品审批表")
public class SmsProductProcurementApproval implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申报人")
    private String declarationId;

    @ApiModelProperty(value = "申报处室")
    private String declarationDepartment;

    @ApiModelProperty(value = "商品用途简介")
    private String productUsageOverview;

    @ApiModelProperty(value = "申请人签字")
    private String sign;

    @ApiModelProperty(value = "项目预算")
    private BigDecimal projectBudget;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "报价清单附件")
    private String listAttachment;

    @ApiModelProperty(value = "申报时间")
    private Date declarationTime;

    @ApiModelProperty(value = "审批状态  0：审批中  1：通过   2：驳回   3：撤销")
    private Integer allowStatus;

    @TableLogic
    private Integer isDeleted;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty("流程结束时间")
    private Date processEndTime;
}
